<?php
session_start();

include 'database.php';


$pizza_id = $_SESSION['pizza_id'];
$klant_id = $_SESSION['klantgev']['klantid'];

$sql = "INSERT INTO pizza_besteld (pizza_id, klant_id, date, gemaakt, bezorgd) VALUES ('$pizza_id','$klant_id', now(), 'Nee', 'Nee')";
$result = mysqli_query($dbcon, $sql);

header('Location: ../mijnpizzas.php');



?>